package com.example.harmonyosproject.server.service;

import com.example.harmonyosproject.pojo.PasswordChangeRequest;
import com.example.harmonyosproject.pojo.User;

public interface UserService {
    public Boolean register(User user);
    public User getByPhone(String phone);

    User getById(Integer id);

    User login(User user);

    void changeInfo(User user);

    Boolean changePassword(PasswordChangeRequest passwordChangeRequest);
}
